package com.coffee.ws.handler;


import com.coffee.ws.CoffeeWebsocketException;
import com.coffee.ws.command.CoffeeTextParam;
import com.coffee.ws.metadata.CoffeeTextMessage;

/**
 * 命令处理
 * @param <T>
 */
public interface CoffeeTextHandler<T extends CoffeeTextMessage> {
    void handle(CoffeeTextParam<T> command)throws CoffeeWebsocketException;
}
